# def fun1():
#     for i in range(1,11):
#         return i
# rest1=fun1()
# print(rest1)
# def str_number(bigstr,smallstr='a'):
# str1='dadqwwfwqfjwqaoiaiosijpoaospjfqwasaapjosaja'
# list1=list(str1)
# counts=list1.count('a')
# print(counts)
# str_number('dadqwwfwqfjwqaoiaiosijpoaospjfqwasaapjosaja')
# print(str_number)
# def str_number(bigstr,smallstr='a'):
#     list1=list(bigstr)
#     counts=list1.count(smallstr)
#     print(f'出现的次数为：{counts}')
# str_number('dadqwwfwqfjwqaoiaiosijpoaospjfqwasaapjosaja')
# def sum1(a,b):
#     c=a+b
#     return c
# a=sum1(10,20)
# print(a)
# def show1():
#     print('hello world')
# a=show1()
# print(a)
# def fun1(a, b):
#     print("今天是星期二")
#     c = a + b
#     return c    #执行过一次return则跳出该函数
#     print("明天自习") # 不执行
#
# a=fun1(10, 20)
# print(a)
#     n=0
#     for i in
#         n=n+i
#         return n
# def get_list():
#     list1 = []
#     while True:
#         n = int(input("请输入一个数值："))
#         if n == -1:
#             break
#         list1.append(n)
#     return list1
# a=get_list()
# def show1():
#     return 11, 22, 33
#
# res1 = show1()
# print(res1, type(res1))
